package com.cn.kehong.api;

import com.cn.kehong.domain.ProductThinPeriod;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IProductThinPeriodService {

    List<ProductThinPeriod> getProductThinPeriodList(QueryForm queryForm)throws Exception;

    List<ProductThinPeriod> getProductThinPeriodByLineStatus()throws Exception;

    List<ProductThinPeriod> getProductThinPeriodListByCodes(List<String> productCodes)throws Exception;

    List<ProductThinPeriod> getProductThinPeriodListByIds(List<String> ids)throws Exception;

    String addProductThinPeriod(String peiId,String productCode,String factoryName,String startCode)throws Exception;

    String updateBatchProductThinPeriod(List<ProductThinPeriod> productThinPeriods)throws Exception;

    String updateProductThinPeriodLineTaskByIds(List<String> ids,String lineStatus)throws Exception;

    List<ProductThinPeriod> getProductThinPeriodBackList(QueryForm queryForm)throws Exception;
}
